package com.test.spring.fusion.controller;

import org.spring.boot.fusion.common.response.ResponseData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.test.spring.fusion.service.ConsumersService;
@RestController
public class ConsumersController {
	
	@Autowired
	private ConsumersService consumersService;
	
	@GetMapping("saveConsumers")
	public ResponseData saveConsumers() {
		consumersService.saveConsumers();
		return ResponseData.SUCCESS();
	}
}
